package com.yqg.manage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * dossier 实体类
 *
 * @author zxf
 * @since 2024-06-06
 */
@Getter
@Setter
@ApiModel(value = "Dossier对象", description = "")
public class Dossier implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("卷宗编号")
    private String dossierNo;

    @ApiModelProperty("卷宗名称")
    private String dossierName;

    @ApiModelProperty("检查案卷参数")
    private String dossierParams;

    @ApiModelProperty("案卷所属部门")
    private Long unitId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("是否删除（0否1是）")
    private String isDelete;

    /**
     * 所属单位名称
     */
    @TableField(exist = false)
    private String unitName;

}
